package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Setter
@Getter
@ToString
@TableName("delivery_addr")
public class DeliveryAddr implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer user_id;
    private String receiver_name;
    private String receiver_phone;
    private String province;// 省
    private String city;// 省
    private String district;// 区
    private String detail_addr;// 详细地址
    private Integer is_default;//0:非默认 1:默认
    private LocalDateTime create_time;
    private LocalDateTime update_time;
    private Integer is_del;
}
